package cn.lczze.stock.service.impl;

import cn.lczze.stock.mapper.base.StockInfoMapper;
import cn.lczze.stock.model.base.StockInfo;
import cn.lczze.stock.service.StockInfoService;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class StockInfoImpl implements StockInfoService {

    @Autowired
    private StockInfoMapper stockInfoMapper;

    @Override
    public List<StockInfo> selectAll() {
        List<StockInfo> stockInfos = stockInfoMapper.selectAll();
        return stockInfos;
    }
}
